package cn.gok.fangxin.web;

import cn.gok.fangxin.base.web.BaseController;
import cn.gok.fangxin.entity.User;
import cn.gok.fangxin.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.*;

/**
 * ClassName : cn.edu.qzit.linpq.web.UserController
 * Desc : 用户控制层：用来控制访问&跳转&返回
 *
 * @author : LINPQ
 * @date : 2022/6/16 11:07
 */
@RestController
@RequestMapping("user")
public class UserController  extends BaseController<UserService,User> {

    @Override
    public String getPerfix() {
        return "/user";
    }
}
